<?php
/**
 * Created by PhpStorm.
 * User: shkj
 * Date: 2020/4/23
 * Time: 0:35
 */

namespace app\api\model;


use think\Model;

class GoodsAttr extends Model
{
    protected $hidden = ['attr_id','goods_id'];
    public function name(){
        return $this->belongsTo('Attr','attr_id','id');
    }
}